Skip to content

🐛 Fix STATIC_ASSERT capture spec#251

Merged
elbeno merged 1 commit intointel:mainfrom
elbeno:fix-static-assert-capture
Jul 11, 2025
Merged

🐛 Fix STATIC_ASSERT capture spec#251
elbeno merged 1 commit intointel:mainfrom
elbeno:fix-static-assert-capture

Conversation

@elbeno
Copy link
Contributor

@elbeno elbeno commented Jul 11, 2025

Problem:

  • Sometimes, STATIC_ASSERT may need to capture variables.

Solution:

  • Use [&] as the capture spec in the STATIC_ASSERT lambda expressions.

Problem:
- Sometimes, `STATIC_ASSERT` may need to capture variables.

Solution:
- Use `[&]` as the capture spec in the `STATIC_ASSERT` lambda expressions.
@elbeno elbeno enabled auto-merge July 11, 2025 20:09
@elbeno elbeno merged commit 526e301 into intel:main Jul 11, 2025
82 of 84 checks passed
@elbeno elbeno deleted the fix-static-assert-capture branch July 11, 2025 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants